<div id="hld">
	<div class="wrapper"><!-- wrapper begins -->
		<div class="logo"><img src="<?php echo $this->baseUrl()?>/images/NHKMediaLogo.png" width="246" height="80" alt="sociroll" longdesc="http://sociroll.com"></div>
		<div class="block small center login">
			<div class="block_head">
				<div class="bheadl"></div>
				<div class="bheadr"></div>
				<h2><?php echo $this->translate('TEXT_LABEL_USER_LOGIN');?></h2>
				<ul>
					<li><a href="#"><?php echo $this->translate('TEXT_LABEL_USER_BACK_TO_THE_SITE')?></a></li>
				</ul>
			</div>
			<!-- .block_head ends -->
			<div class="block_content">
				<?php 
				$msg = '';
				if (count($this->loginMessage) > 0) {
					foreach ($this->loginMessage as $message) {
						$msg .= '<div class="message ' . $message['type'] . '"><p>' . $message['text'] . '</p></div>' . "\n";
					}
				}
				echo $msg;
				?>
				<?php //echo $this->messageStack($this->loginMessage);?>
				
				<form action="" method="post">
					<p><label><?php echo $this->translate('TEXT_LABEL_USER_USERNAME');?>:</label> <br />
					<?php echo $this->formText('username', '', array('class'=>'text','maxlength'=>100));?></p>
					<p><label><?php echo $this->translate('TEXT_LABEL_USER_PASSWORD');?>:</label> <br />
					<?php echo $this->formPassword('password', '', array('class'=>'text','maxlength'=>100));?></p>
					<p><?php echo $this->formSubmit('submit',$this->translate('TEXT_BTN_USER_LOGIN'), array('class'=>'submit'))?></p>
				</form>
				<ul>
					<li><a href="<?php echo $this->url(array('module'=>'user','controller'=>'index','action'=>'resetpass'));?>"><?php echo $this->translate('TEXT_LABEL_USER_FORGOT_PASS');?></a></li>
					<li><a href="<?php echo $this->url(array('module'=>'user','controller'=>'index','action'=>'register'));?>"><?php echo $this->translate('TEXT_LABEL_USER_REGISTER');?></a></li>
				</ul>
			</div>
			<!-- .block_content ends -->
			<div class="bendl"></div>
			<div class="bendr"></div>
		</div>
		<!-- .login ends -->
		<div id="footer">
			
			<p class="left"><a href="http://www.nhkmedia.com">NHKMedia™</a></p>
			<p class="right">Powered by  <a href="http://www.nhkmedia.com">NHKMedia Software Inc</a></p>
				
		</div>
	</div>
	<!-- wrapper ends -->
</div>
